﻿using System;
using ControlLibrary;

namespace ControlLibrarySample
{
    public partial class Page1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.litName.DataBindings.Add("Text", this.Session["Person"], "Name");
            this.litSurname.DataBindings.Add("Text", this.Session["Person"], "Surname");

            this.ExecuteDataBind();
        }
    }
}
